package com.githan.ksback_v2_3.Services;

import com.githan.ksback_v2_3.Entity.SysRole;
import com.githan.ksback_v2_3.Mapper.SysRoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author https://github.com/Han56
 * @date 2021/4/19 18:32
 */
@Service
public class SysRoleService implements SysRoleMapper {

    @Autowired
    SysRoleMapper sysRoleMapper;

    @Override
    public List<SysRole> getAllRolesInfo() {
        return sysRoleMapper.getAllRolesInfo();
    }
}
